Using Windows System Resource Manager
An
important consideration for any server is to ensure that critical
services are not interrupted when the system is under load. By default,
most services in Windows Server 2008 run at an equal priority level. Windows System Resource Manager (WSRM)
helps administrators assign priorities to various system processes such
as IIS. Although WSRM is not a requirement for running IIS, on busy Web
servers or servers that are providing many important services, enabling
this feature can be helpful. For example, administrators can create
Resource Allocation policies to define CPU and memory limitations to
ensure that the system continues to respond well even when under heavy
load. (See Figure 12.)
You
can add WSRM to a computer running Windows Server 2008 by using Server
Manager. Right-click the Server Manager item and select Add Features to
start the process. The Add Features Wizard includes an option to add
WSRM. For more information about WSRM, in the Start menu Start Search
box, type system resource, and then press Enter. The help file includes details on creating and managing resource settings.
1. | What are two methods by which you can verify a successful installation of the Web Server (IIS) role?
| 2. | When can you add role services to the Web Server (IIS) server role?
|
Quick Check Answers
1. | You
can use Server Manager to verify that the proper services have been
installed and started, and you can use Internet Explorer or another Web
browser to verify that the default Web site is responding. | 2. | You
can add the role services when you initially add the server role, or
you can add them after the Web Server (IIS) role has been enabled. |
|
Practice: Installing and Verifying the Web Server (IIS) Role
In
this practice, you will perform the steps of installing the Web Server
(IIS) server role on the server2.contoso.com server. You must complete
Exercise 1 before performing Exercise 2.
▸ Exercise 1 Install the Web Server Role
In
this exercise, you will perform the steps required to add the Web
Server (IIS) server role. You will install the service with only the
basic role services that are enabled by default.
1. | Log on to server2.contoso.com, using an account that is a member of the local Administrators group.
|
2. | Open
Server Manager. Right-click Roles, and select Add Roles to open the Add
Roles Wizard. Click Next on the Before You Begin page if it is
displayed.
|
3. | On
the Select Server Roles page, select the Web Server (IIS) server role.
If any required dependencies are detected, choose to add them
automatically. Click Next.
|
4. | On
the Web Server (IIS) page, read the basic introductory information
about IIS. Note that you can use the Additional Information links to
learn more about IIS and related components. Click Next.
On the
Select Role Services page, the default selections will include those
components that are part of the basic Web Server (IIS) role. Note that
you can obtain more information about each item in the list by
selecting it and reading the text on the right side of the page. Links
to additional information in the help file are available for most
items. For the purpose of this exercise, keep only the default options
selected, and then click Next. For a list of which options are selected
by default, see Table 5-1.
|
5. | On
the Confirm Installation Selections page, verify the role service
selections that will be included. Optionally, you can choose to print,
e-mail, or save the information to keep a record of which components
were installed. When you are ready to begin the installation process,
click Install.
|
6. | When
the installation process has completed, verify the installed roles and
services on the Installation Results page. To complete the process,
click Close.
|
7. | When finished, close Server Manager.
|
▸ Exercise 2 Verify the IIS Installation
In
this exercise, you will verify the installation of the Web Server (IIS)
role that you added to server2.contoso.com in Exercise 1. Specifically,
you will use both Server Manager and Internet Explorer to ensure that
IIS is working properly.
1. | Log on to server2.contoso.com, using an account that is a member of the local Administrators group.
|
2. | Open
Server Manager. Expand Roles, and then click Web Server (IIS). You will
see a summary of information about the Web Server role. The Events
section will display any important messages that are related to the Web
Server (IIS) server role.
|
3. | In
the System Services section, verify that the World Wide Web Publishing
Service (W3SVC) is started. You will also see the Application Host
Helper Service (apphostsvc) and the Windows Process Activation Service
(WAS). If either of these services is stopped, click it and choose to
start it.
|
4. | In
the Role Services section, view a list of the installed items, and
verify that all the default options have been installed. (The list of
default role services is provided in Table 1, “Installing the Web Server (IIS) Role.”)
|
5. | Close Server Manager and open Internet Explorer. In the Address box, type http://localhost, and then press Enter. You should see the default IIS welcome page.
|
6. | In the Internet Explorer Address box, type the URL http://server2.contoso.com and press Enter. You should again see the IIS welcome page. Close Internet Explorer.
|
7. | When you are finished, close Server Manager. |